package com.vanceinfo.ecados.vo;

import java.util.List;

public class SysOrgParty {
	
	private long orgId;
	private String bnkcode;
	private String category;
	private String clscode;
	private Long porgId;
	private String dreccode;
	private String nodecode;
	private String suprlist;
	private String pbccode;
	private String citycode;
	private String lname;
	private String sname;
	private String addr;
	private String postcode;
	private String tel;
	private String email;
	private String status;
	private String effdate;
	private String invdate;
	private String alttype;
	private String altissno;
	private String remark;
	private String dnfield;
	private String snfield;
	private String crtbndstatus;
	private String accesspt;
	private String sbstitnbk;
	private String sbstitnaccesspt;
	
	private List<SysOrgParty> children;
	private SysOrgParty parent;
	
	public SysOrgParty() {
		super();
	}

	public SysOrgParty(long orgId, String bnkcode, String category, String clscode, Long porgId, String dreccode,
			String nodecode, String suprlist, String pbccode, String citycode, String lname, String sname, String addr,
			String postcode, String tel, String email, String status, String effdate, String invdate, String alttype,
			String altissno, String remark, String dnfield, String snfield, String crtbndstatus, String accesspt,
			String sbstitnbk, String sbstitnaccesspt) {
		super();
		this.orgId = orgId;
		this.bnkcode = bnkcode;
		this.category = category;
		this.clscode = clscode;
		this.porgId = porgId;
		this.dreccode = dreccode;
		this.nodecode = nodecode;
		this.suprlist = suprlist;
		this.pbccode = pbccode;
		this.citycode = citycode;
		this.lname = lname;
		this.sname = sname;
		this.addr = addr;
		this.postcode = postcode;
		this.tel = tel;
		this.email = email;
		this.status = status;
		this.effdate = effdate;
		this.invdate = invdate;
		this.alttype = alttype;
		this.altissno = altissno;
		this.remark = remark;
		this.dnfield = dnfield;
		this.snfield = snfield;
		this.crtbndstatus = crtbndstatus;
		this.accesspt = accesspt;
		this.sbstitnbk = sbstitnbk;
		this.sbstitnaccesspt = sbstitnaccesspt;
	}

	public long getOrgId() {
		return orgId;
	}

	public void setOrgId(long orgId) {
		this.orgId = orgId;
	}

	public Long getPorgId() {
		return porgId;
	}

	public void setPorgId(Long porgId) {
		this.porgId = porgId;
	}

	public String getBnkcode() {
		return bnkcode;
	}
	public void setBnkcode(String bnkcode) {
		this.bnkcode = bnkcode;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getClscode() {
		return clscode;
	}
	public void setClscode(String clscode) {
		this.clscode = clscode;
	}
	public String getDreccode() {
		return dreccode;
	}
	public void setDreccode(String dreccode) {
		this.dreccode = dreccode;
	}
	public String getNodecode() {
		return nodecode;
	}
	public void setNodecode(String nodecode) {
		this.nodecode = nodecode;
	}
	public String getSuprlist() {
		return suprlist;
	}
	public void setSuprlist(String suprlist) {
		this.suprlist = suprlist;
	}
	public String getPbccode() {
		return pbccode;
	}
	public void setPbccode(String pbccode) {
		this.pbccode = pbccode;
	}
	public String getCitycode() {
		return citycode;
	}
	public void setCitycode(String citycode) {
		this.citycode = citycode;
	}
	public String getLname() {
		return lname;
	}
	public void setLname(String lname) {
		this.lname = lname;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getPostcode() {
		return postcode;
	}
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getEffdate() {
		return effdate;
	}
	public void setEffdate(String effdate) {
		this.effdate = effdate;
	}
	public String getInvdate() {
		return invdate;
	}
	public void setInvdate(String invdate) {
		this.invdate = invdate;
	}
	public String getAlttype() {
		return alttype;
	}
	public void setAlttype(String alttype) {
		this.alttype = alttype;
	}
	public String getAltissno() {
		return altissno;
	}
	public void setAltissno(String altissno) {
		this.altissno = altissno;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getDnfield() {
		return dnfield;
	}
	public void setDnfield(String dnfield) {
		this.dnfield = dnfield;
	}
	public String getSnfield() {
		return snfield;
	}
	public void setSnfield(String snfield) {
		this.snfield = snfield;
	}
	public String getCrtbndstatus() {
		return crtbndstatus;
	}
	public void setCrtbndstatus(String crtbndstatus) {
		this.crtbndstatus = crtbndstatus;
	}
	public String getAccesspt() {
		return accesspt;
	}
	public void setAccesspt(String accesspt) {
		this.accesspt = accesspt;
	}
	public String getSbstitnbk() {
		return sbstitnbk;
	}
	public void setSbstitnbk(String sbstitnbk) {
		this.sbstitnbk = sbstitnbk;
	}
	public String getSbstitnaccesspt() {
		return sbstitnaccesspt;
	}
	public void setSbstitnaccesspt(String sbstitnaccesspt) {
		this.sbstitnaccesspt = sbstitnaccesspt;
	}

	public List<SysOrgParty> getChildren() {
		return children;
	}

	public void setChildren(List<SysOrgParty> children) {
		this.children = children;
	}

	public SysOrgParty getParent() {
		return parent;
	}

	public void setParent(SysOrgParty parent) {
		this.parent = parent;
	}
	
	public boolean hasChildren() {
		return children != null && children.size() > 0;
	}
	
}
